/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Partner.Model
{

    /// <summary>
    ///  orderDetail
    /// </summary>
    public class OrderDetail
    {

        ///<summary>
        /// 订单详情列表
        ///</summary>
        public List<OrderItemDetail> OrderItemDetails{ get; set; }
        ///<summary>
        /// 子订单列表
        ///</summary>
        public List<OrderDetail> ChildOrderDetailList{ get; set; }
        ///<summary>
        /// 订单编号
        ///</summary>
        public string OrderNumber{ get; set; }
        ///<summary>
        /// 订单状态:已支付
        ///</summary>
        public string Status{ get; set; }
        ///<summary>
        /// 订单类型
        ///</summary>
        public string OrderType{ get; set; }
        ///<summary>
        /// 订单计费类型：按配置、包年包月、按用量
        ///</summary>
        public string ChargeMode{ get; set; }
        ///<summary>
        /// 产品线
        ///</summary>
        public string AppName{ get; set; }
        ///<summary>
        /// 产品名称(产品类型)
        ///</summary>
        public string ServiceName{ get; set; }
        ///<summary>
        /// 付费方式
        ///</summary>
        public string PayType{ get; set; }
        ///<summary>
        /// 自营类型：1-自营，2-非自营，3-二者并存
        ///</summary>
        public string SelfSupportType{ get; set; }
        ///<summary>
        /// 站点类型 0：主站,1：国际站,2：云市场
        ///</summary>
        public string SiteType{ get; set; }
        ///<summary>
        /// 下单时间
        ///</summary>
        public string CreateTime{ get; set; }
        ///<summary>
        /// 支付时间
        ///</summary>
        public string PayTime{ get; set; }
        ///<summary>
        /// 应付价格是否被修改过：0-未修改，1-已修改
        ///</summary>
        public string IsActualFeeModified{ get; set; }
        ///<summary>
        /// 订单总额（元）
        ///</summary>
        public double? TotalFee{ get; set; }
        ///<summary>
        /// 应付总额（元）
        ///</summary>
        public double? ActualFee{ get; set; }
        ///<summary>
        /// 优惠总额（元）
        ///</summary>
        public double? DiscountFee{ get; set; }
        ///<summary>
        /// 已支付总额（元）
        ///</summary>
        public double? PaidFee{ get; set; }
        ///<summary>
        /// 代金券金额（元）
        ///</summary>
        public double? FavorableFee{ get; set; }
        ///<summary>
        /// 代金券Json
        ///</summary>
        public string FavorableFeeJson{ get; set; }
        ///<summary>
        /// 现金支付
        ///</summary>
        public double? MoneyPay{ get; set; }
        ///<summary>
        /// 余额支付
        ///</summary>
        public double? BalancePay{ get; set; }
        ///<summary>
        /// 支付确认页地址
        ///</summary>
        public string PayUrl{ get; set; }
        ///<summary>
        /// 用户pin
        ///</summary>
        public string Pin{ get; set; }
        ///<summary>
        /// 备注
        ///</summary>
        public string Remark{ get; set; }
        ///<summary>
        /// 自动取消时间
        ///</summary>
        public string ExpirationTime{ get; set; }
        ///<summary>
        /// 已退款金额
        ///</summary>
        public double? RefundFee{ get; set; }
        ///<summary>
        /// 订单类型：新购、续费、升降配
        ///</summary>
        public double? OrderTypeInfo{ get; set; }
        ///<summary>
        /// 订单计费类型：按配置、包年包月、按用量actualFee
        ///</summary>
        public double? ChargeModeInfo{ get; set; }
        ///<summary>
        /// 订单状态：未支付、已支付、处理中、已取消
        ///</summary>
        public double? StatusInfo{ get; set; }
        ///<summary>
        /// 自营类型：1-自营，2-非自营，3-二者并存
        ///</summary>
        public int? SelfSupportTypeInfo{ get; set; }
        ///<summary>
        /// 现金支付方式（企业、个人网银、京东支付、微信、线下汇款）
        ///</summary>
        public int? PaymentChannel{ get; set; }
        ///<summary>
        /// 修改时间
        ///</summary>
        public string UpdatedTime{ get; set; }
        ///<summary>
        /// 支付单号
        ///</summary>
        public string PaymentNumber{ get; set; }
        ///<summary>
        /// 付款人
        ///</summary>
        public string Payer{ get; set; }
        ///<summary>
        /// 申请人
        ///</summary>
        public string Proposer{ get; set; }
        ///<summary>
        /// 应用code
        ///</summary>
        public string AppCode{ get; set; }
    }
}
